package com.gxa.community.admin.service.content;

import com.gxa.community.core.pojo.dto.content.TopicGoodsDto;
import com.gxa.community.core.pojo.vo.content.TopicVo;
import com.gxa.community.core.utils.R;

import java.util.List;

public interface TopicService {
    R getSingleTopicById(Integer id);

    R addTopic(TopicVo topicVo);

    R updateTopicById(TopicVo topicVo);

    R delTopicById(Integer id);

    R updateTopicStatus(Integer id);

    List<TopicGoodsDto> queryTopList();
}
